import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';
import { LocalRouter } from "./local_router"

const routes: Array<RouteRecordRaw> = [
    {
        path: "/config_server",
        name: "config_server",
        component: () => import("@renderer/page/serverConfig.vue"),
        meta: {
            title: "配置服务器"
        }
    },
    ...LocalRouter
]


const router = createRouter({
    history: createWebHashHistory(),
    routes,
  });

export default router;
